package applet.awt;

import java.applet.Applet;
import java.awt.Graphics;

@SuppressWarnings("serial")
public class MyApplet extends Applet {
	public void init() {
		System.out.println("init");
	}

	public void start() {
		System.out.println("start");
	}

	public void paint(Graphics g) {
		g.drawString("Welcome to techMahindra", 100, 100);
		System.out.println("paint");
	}

	public void stop() {
		System.out.println("stop");
	}

	public void destroy() {
		System.out.println("destroy");
	}
}

/*
 * <html> <head> </head> <body> <applet code="MyApplet.java" width="400"
 * height="500"> </applet> </body> </html>
 */
